<template>
  <div id="app">
    <router-view/>
  </div>
</template>


<script>


export default {
  
  name : 'test',
  
  data () {
    return {
        
    }
  },

  props : {

  },

  components : {
    
  },

  computed : {

  },

  methods : {
    
  },

  watch : {
      
  },

  mounted () {
    window.addEventListener('hashchange', () => {
      let currentPath = window.location.hash.slice(1)
      if (this.$route.path !== currentPath) {
        this.$router.push(currentPath)
      }
    }, false)
  },

}
</script>

<style>
#app {
  font-family: MicrosoftYaHei, 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;


  /*text-align: center;*/
  /*color: #2c3e50;*/
  /*margin-top: 60px;*/
  
}
#app, body, html {
  /*width: 1920px;*/
  /*height: 1080px;*/
  min-width: 1270px;
}
</style>
